/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package excecoes.pessoa;

/**
 *
 * @author iigorconrado
 */
public class CpfCnpjExistenteException extends Exception {

    /**
     * Creates a new instance of <code>CpfExistenteException</code> without detail message.
     */
    public CpfCnpjExistenteException() {
        super("O CPF/CNPJ informado já se encontra cadastrado.");
    }

    /**
     * Constructs an instance of <code>CpfExistenteException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public CpfCnpjExistenteException(String msg) {
        super(msg);
    }
}
